<template>
  <img alt='Vue logo' src='./assets/logo.png' />
  <HelloWorld msg='Hello Vue 3 + Vite' />
  <p>
    <!--使用 router-link 组件进行导航 -->
    <router-link to  ='/home'>Home</router-link>
    <router-link to = '/about'>About</router-link>
  </p>
  <div>
    这是router-view
    <!-- 路由匹配到的组件将渲染在这里 -->
    <router-view></router-view>
  </div>
</template>
